# Dockerfile for uaf-vxalipaybill-provider
FROM harbor-<ENVIROMENT>.uaryd.com/public/openjdk:8-jre-alpine

MAINTAINER will

ADD . /usr/local/nlp/

WORKDIR /usr/local/nlp/

RUN \
    echo "http://mirrors.aliyun.com/alpine/v3.8/main" > /etc/apk/repositories && \
    echo "http://mirrors.aliyun.com/alpine/v3.8/community" >> /etc/apk/repositories && \
    apk update upgrade && \
    apk add --no-cache bash tzdata && \
    ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    echo "Asia/Shanghai" > /etc/timezone && \
    chmod +x uaf-vxalipaybill-provider/scripts/startup-kubernetes.sh

CMD ["uaf-vxalipaybill-provider/scripts/startup-kubernetes.sh"]
